package kr.hikt.summary_Java.erp;

import java.sql.Connection;

import kr.hkit.myframeWork.db.ConnectionFactory;
import kr.hkit.myframeWork.db.DBProperties;

public class TestMain {
public static void main(String[] args) {
	String filePath = "dbcon.xml";
	String driver = "com.mysql.jdbc.Driver";
	String url = "jdbc:mysql://localhost:3306/erp";
	String user = "root";
	String password = "1111";
	DBProperties.savePropertis(filePath, driver, url, user, password);
	DBProperties.prnProperties(DBProperties.loadPropertis(filePath));
    
	Connection con = ConnectionFactory.getConnection();
}
}
